package six;

public class flat {
	public int x;
	public int y;
	
	@Override
	public String toString() {
		return "point [x=" + x + ", y=" + y + "]";
	}
	public void XY(int x, int y) {
		this.x =x;
		this.y =y;
	}
	public void getPos() {
		System.out.println("("+x+","+y+")");
	}

}
